package sdk.pay.constant;

public final class PayConfigure {
    public static String PAY_URL;
    public static String PAY_URL_TYPE;
    public static String PAY_URL_PAY;
    public static String ORDER_QUERY;
    public static String PAY_GET_TOKEN;
    public static String STEP_PAY;
    public static String DEFAULT_PAY_URL;
    public static String UPLOAD_LOG_API;

    public static void setAPIs(String api) {
//        api = "http://xwhzpp666.tpddns.cn:5982";
        PAY_URL = api;
        PAY_URL_TYPE = PAY_URL + PayConstant.TYPE_PARAM;
        PAY_URL_PAY = PAY_URL + PayConstant.PAY_PARAM;
        ORDER_QUERY = PAY_URL + PayConstant.ORDER_PARAM;
        PAY_GET_TOKEN = PAY_URL + PayConstant.TOKEN_PARAM;
        STEP_PAY = PAY_URL + PayConstant.STEP_PAY_PARAM;
        UPLOAD_LOG_API = PAY_URL + PayConstant.DO_UPLOAD_PARAM;
    }
}
